{layout name="p/base_1"}
  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1>个人信息 <small>找回密码</small></h1>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里需要验证您的身份信息
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <h2 class="text-primary">身份验证</h2><hr>
        <form class="form-horizontal" id="backpassword" role="form"  method="post">
          <div class="form-group">
            <label class="col-xs-12" for="name">已绑定手机即账号</label>
            <div class="col-sm-6">
              <input type="text" class="form-control" name="phone" value="{$account}" placeholder="请输入手机号即账号">
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-12" for="name">短信校验码</label>
            <div class="col-xs-6">
              <input type="text" class="form-control"   name="phone_code" 
               placeholder="请输入校验码">
            </div>
            <div class="col-xs-6">
              <a id="phone_codea" class="btn btn-default">免费获取短信校验码</a>
            </div>
          </div>
           <div class="form-group">
            <label class="col-xs-12" for="name">图片验证码</label>
            <div class="col-xs-6">
              <input type="text" class="form-control"  name="code" placeholder="请输入验证码">
            </div>
            <div class="col-xs-6">
              <img  id="captcha_img" style="cursor: pointer;" onclick="this.src='{:captcha_src()}?d='+Math.random();" alt="点击更换" title="点击更换" src="{:captcha_src()}" class="m">
            </div>
          </div>
          <div class="form-group">
            <div class="col-xs-12">
              <a href="/manager/login" class="btn btn-default">返回</a>
              <button class="btn btn-primary" id="aa" >下一步</button>
            </div>
          </div>
        </form>
      </div>
    </div>
    <!-- /.row -->
    
  </div><!-- /#page-wrapper -->
<script type="text/javascript" src="/jquery.js"></script>
<script src="/front/js/js.js"></script>
<script type="text/javascript" src="/jquery.js"></script>
    <script type="text/javascript">
      $(document).ready(function(){
        //获取验证码
        $("#phone_codea").click(function(){
        $("#backpassword").attr('action','/manager/savecode');
        $("#backpassword").submit();
          });
        //提交表单
        $("#aa").click(function(){
        $("#backpassword").attr('action','/manager/authentication');
        $("#backpassword").submit();
          });

        });
      
</script>
